using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using XRPGLibrary;
using XRPGLibrary.Controls;

namespace EyesoftheDragon.GameScreens
{
    public abstract partial class BaseGameState : GameState
    {
        protected Game1 GameRef;

        protected ControlManager ControlManager;


        public BaseGameState(Game game, GameStateManager manager) : base(game, manager)
        {
            GameRef = (Game1) game;
        }

        protected override void LoadContent()
        {
            var Content = Game.Content;

            SpriteFont menuFont = Content.Load<SpriteFont>(@"Fonts\ControlFont");
            ControlManager = new ControlManager(menuFont);
            base.LoadContent();
        }

        public override void Update(GameTime gameTime)
        {
            base.Update(gameTime);
        }

        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
        }
    }
}